package com.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.pojo.entity.Goods;
import com.pojo.vo.GoodsVo;

import java.util.List;

/**
 * @author : 杨世博
 * @date: Created in 2:13 2023/6/3
 */
public interface IGoodsService extends IService<Goods>{

    /**
     * 搜索商品
     * @return
     */
    IPage<GoodsVo> searchGoods(String goodsKey, Integer pageNum, Integer size);

    Goods goodsDetail(Integer id);


    List<GoodsVo> recommendGoods();
}
